package cn.lili.modules.order.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.distribution.entity.dos.Distribution;
import cn.lili.modules.order.order.client.RankingDistributionClient;
import cn.lili.modules.order.order.entity.dos.RankingDistribution;
import cn.lili.modules.order.order.entity.dto.RankingFySetParentChildCountDTO;

/**
 * @author: ftyy
 * @date: 2022-01-13 17:24
 * @description: 子订单Fallback
 */
public class RankingDistrbutionFallback implements RankingDistributionClient {

    @Override
    public Boolean save(Distribution distribution) {

        return null;
    }

    @Override
    public Boolean fySetParentSyncMallRankingDistribution(RankingFySetParentChildCountDTO dto) {
        return false;
    }


    @Override
    public Boolean removeRankingDistribution(Distribution distribution) {
        return false;
    }

    @Override
    public Boolean updateRankingDistribution(RankingDistribution dis) {
        return false;
    }

    @Override
    public Boolean clearParentInfo(Distribution dis) {
        throw new ServiceException();
    }
}
